package org.jeecg.modules.health_records.pic_path.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.apache.commons.lang3.StringUtils;
import org.jeecg.modules.health_records.pic_path.entity.PicPathInfo;
import org.jeecg.modules.health_records.pic_path.mapper.PicPathInfoMapper;
import org.jeecg.modules.health_records.pic_path.service.IPicPathInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @Description: 图片上传路径和类型记录表
 * @Author: jeecg-boot
 * @Date:   2025-06-27
 * @Version: V1.0
 */
@Service
public class PicPathInfoServiceImpl extends ServiceImpl<PicPathInfoMapper, PicPathInfo> implements IPicPathInfoService {
     @Autowired
     private PicPathInfoMapper picPathInfoMapper;

    @Override
    public  List<PicPathInfo> queryByBusinessId(String businessId,
                                            String businessType){
        List<PicPathInfo> picList =  picPathInfoMapper.queryByBusinessId(businessId,businessType);
        return picList;
    }
}
